
import sys
def match(var):
  leave = set(['quit', 'q', 'exit', 'go away', 'leave'])
  if var.lower() in leave:
    sys.exit()
  else: return var

while(1):
  var = raw_input("Enter something: ")
  print match(var)
